package com.markby.fscm.cryptogram.uitls;

import org.bouncycastle.jce.provider.BouncyCastleProvider;

import java.security.Security;

public class GMBaseUtil {
    public static String BC = BouncyCastleProvider.PROVIDER_NAME;

    static {
        // 配置BC库属性
        if (Security.getProvider(BC) == null) {
            Security.addProvider(new BouncyCastleProvider());
        }
    }
}